// Copyright (C) Kumo inc. and its affiliates.
// Author: Jeff.li lijippy@163.com
// All rights reserved.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program.  If not, see <https://www.gnu.org/licenses/>.
//


#include <tests/dwio/parquet/reader/parquet_reader_benchmark.h>
#include <gtest/gtest.h>

namespace kumo::pollux::parquet::test {
namespace {
TEST(ParquetReaderBenchmarkTest, basic) {
  memory::MemoryManager::testingSetInstance({});
  run(1, "BigInt", BIGINT(), 20, 0, 500, false);
  run(2, "ShortDecimal", DECIMAL(18, 3), 0, 20, 500, false);
  run(3, "LongDecimal", DECIMAL(38, 3), 10, 5, 500, false);
  run(4, "Double", DOUBLE(), 5, 10, 500, false);
  run(5, "Varchar", VARCHAR(), 0, 0, 500, false);
  run(6, "Map", MAP(BIGINT(), BIGINT()), 100, 20, 500, false);
  run(7, "Array", ARRAY(BIGINT()), 100, 0, 500, false);
}
} // namespace
} // namespace kumo::pollux::parquet::test
